package com.cloud.school.bus.teacherhelper.entitys;

import java.io.Serializable;

import com.android.support.jhf.utils.DateUtils;

/**
 * 学生
 * 
 * @author lenovo
 * 
 */
public class Student implements Serializable{

	/** true选中当前item，false未选中当前item */
	public boolean isSelected = false;

	public long getBirthday(){
		return DateUtils.getDateMillis(birthday, "yyyy-MM-dd");
	}
	
	public String birthday;// ": "2012-01-01",
	/** 1为男 2为女 */
	public String sex;// ": "2",
	/**暂时不用*/
	public String absence;// ": "",
	/**主家长id*/
	public String parentid;// ": "49474",
	/**学生uid*/
	public String uid_student;// ": "49427",
	/**头像*/
	public String avatar;// ": "http://cloud.yunxiaoche.com/images/student.jpg?0",
	/**学生学号*/
	public String studentno;// ": "49427",
	/**暂时不用*/
	public String online;// ": "0",
	/**主家长用户名*/
	public String username;// ": "698906",
	/**暂时不用*/
	public String isattendance;// ": "0",
	/**服务到期时间*/
	public String orderendtime;// ": "",
	public String age;// ": 2,
	/**姓名*/
	public String cnname;// ": "陈佳",
	/**没用*/
	public String ordertitle;// ": "",
	/**暂时不用*/
	public String isabsence;// ": "0",
	/**学生教师端昵称*/
	public String enname;// ": "54555",
	public String mobile;// ": "13161722685",
	public String studentid;// ": "49427"
	
	
	//下面是searchstudent接口返回
	/**班级uid*/
	public String uid_class;
	/**班级id*/
	public String classid;
	/**学生uid*/
	public String student_uid;
	/**学生姓名*/
	public String classname;
	
	//一下是添加学生特有的
	/**1 为手机号存在关联学生 2为不存在关联学生*/
	public String key;
	/**是否为主账号*/
	public String ismainid;
	/**和家长之间关系*/
	public String releationship;
	public String filesize;
	public String student;
}
